package com.aliang.shopping.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class BasicException extends RuntimeException {
    private Integer code;
    private String message;

    public BasicException(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
